package main

import (
	"mall/im/chat"
)

func main() {

	//server := micro.NewService(
	//	micro.Name("go.micri.srv.im"),
	//	micro.RegisterTTL(time.Second*10),
	//	micro.RegisterInterval(time.Second*5),
	//)
	//
	//server.Init()

	//imServer:=chat.NewServer("/ws")

	//启动IM服务
	chat.Listen()
	//err := server.Run()
	//if err != nil {
	//	panic(err)
	//}

}
